package pl.dsp.dsp1.processing;


public class ToMagnitudePhase implements SignalValueOperation {

	@Override
	public SignalValue perform(SignalValue s1, SignalValue s2) {
		return new ComplexValue(((ComplexValue)s1).getMagnitude(), ((ComplexValue)s1).getPhase());
	}

}
